#ifndef DEFINES_H
#define DEFINES_H


#include <QVector>
#include <QColor>
#include <QPair>

typedef QPair<quint32, quint32> Point;

typedef quint32 Cell;

//cell value
#define CELL_FREE 0
#define CELL_NOT_FREE -1

//cell size
#define CELL_SIZE 10

//cell color
#define CELL_FREE_BRUSH Qt::green
#define CELL_NOT_FREE_BRUSH Qt::black
#define CELL_MY_SNAKE_BRUSH Qt::yellow
#define CELL_OTHER_SNAKE_BRUSH Qt::red

//bonus type
#define BONUS_SIMPLE 1
#define BONUS_SIMPLE_PRIZE 100

//bonus brush
#define BONUS_SIMPLE_BRUSH Qt::blue

typedef QVector<QVector<Cell> > Field;

#endif // DEFINES_H
